/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.project.service.approvalrecord;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.idenger.common.persistence.Page;
import com.idenger.common.service.CrudService;
import com.idenger.modules.project.entity.approvalrecord.ApprovalRecord;
import com.idenger.modules.project.dao.approvalrecord.ApprovalRecordDao;

/**
 * 项目审批Service
 * @author chenlin
 * @version 2018-04-11
 */
@Service
@Transactional(readOnly = true)
public class ApprovalRecordService extends CrudService<ApprovalRecordDao, ApprovalRecord> {

	public ApprovalRecord get(String id) {
		return super.get(id);
	}
	
	public List<ApprovalRecord> findList(ApprovalRecord approvalRecord) {
		return super.findList(approvalRecord);
	}
	
	public Page<ApprovalRecord> findPage(Page<ApprovalRecord> page, ApprovalRecord approvalRecord) {
		return super.findPage(page, approvalRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(ApprovalRecord approvalRecord) {
		super.save(approvalRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(ApprovalRecord approvalRecord) {
		super.delete(approvalRecord);
	}
	
}